package com.hand.pp.domain;/**
 * @author Estelle@앙수청
 * @date 2019/7/16 14:59
 */


import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 *  @author Estelle@앙수청
 *  @date 2019/7/16 14:59
 */
@Table(name = "role")
public class Role {

    @Id
    private Integer id;

    private String name;

    @Transient
    private Integer user_id;

    private String code;

    private String description;

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
